package com.lcc.lynx.base.system.controller;

import com.lcc.lynx.jdbc.IByIdController;
import com.lcc.lynx.security.annotation.Permission;
import com.lcc.lynx.base.system.pojo.dv.SysRoleMenuDV;
import com.lcc.lynx.base.system.service.SysRoleMenuService;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/** 
 * 角色菜单配置控制实现
 * @auth lcc
 * @date 2025-01-01
 */
@RestController
@AllArgsConstructor
@Permission("sys:role")
@RequestMapping("/sys/role/menu")
public class SysRoleMenuController implements IByIdController<SysRoleMenuDV> {

    private SysRoleMenuService service;
    

    @Override
    public SysRoleMenuService getService() {
       return service;
    }

}